﻿using ApplicationBase.Core.Domain;

namespace IdentityService.Domain.Aggregates.RoleAggregate
{
    public class RoleClaim : Entity
    {
        public long Id { get; init; }
        public long RoleId { get; private set; }
        public string Key { get; private set; }
        public string Value { get; private set; }

        public RoleClaim(string key, string value)
            => (Key, Value) = (key, value);
    }
}
